Skip to content

refactor: update ubuntu/authd paths to canonical/authd#1332

Merged
nooreldeenmansour merged 2 commits intomainfrom
update-paths
Apr 6, 2026
Merged

refactor: update ubuntu/authd paths to canonical/authd#1332
nooreldeenmansour merged 2 commits intomainfrom
update-paths

Conversation

@nooreldeenmansour
Copy link
Copy Markdown
Member

Updated all references of ubuntu/authd to canonical/authd, with exception to DBus paths, and Launchpad PPA urls.

UDENG-9438

Comment thread snap/variants/msentraid/snapcraft.yaml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors repository references from ubuntu/authd to canonical/authd across the OIDC brokers module and snap packaging metadata, while preserving DBus interface naming.

Changes:

  • Update Go imports and module dependencies to github.com/canonical/authd (notably the shared log package).
  • Adjust snapcraft builds to compile the brokers from the repo root (to accommodate a temporary Go module replace).
  • Update README/codecov links and snap metadata URLs to the Canonical GitHub namespace.

Reviewed changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
snap/variants/oidc/snapcraft.yaml Build brokers from repo root; add temporary build workaround comments.
snap/variants/msentraid/snapcraft.yaml Update metadata URLs; build brokers from repo root; update ldflags import path.
snap/variants/google/snapcraft.yaml Update metadata URLs; build brokers from repo root; update ldflags import path.
authd-oidc-brokers/internal/testutils/provider.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/providers/msentraid/msentraid_test.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/providers/msentraid/msentraid.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/providers/msentraid/himmelblau/himmelblau_c.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/providers/msentraid/himmelblau/himmelblau.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/dbusservice/methods.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/daemon/daemon.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/consts/consts.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/broker/encrypt.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/broker/broker_test.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/internal/broker/broker.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/go.sum Drop ubuntu/authd sums; bump go-systemd/v22 sums.
authd-oidc-brokers/go.mod Replace module dependency from ubuntu/authd to canonical/authd and add temporary replace to ../.
authd-oidc-brokers/cmd/authd-oidc/main.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/cmd/authd-oidc/daemon/daemon.go Switch log import to github.com/canonical/authd/log.
authd-oidc-brokers/cmd/authd-oidc/daemon/config.go Switch log import to github.com/canonical/authd/log.
README.md Update Codecov badge URLs to canonical/authd.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread authd-oidc-brokers/go.mod Outdated
Comment thread snap/variants/google/snapcraft.yaml Outdated
Comment thread snap/variants/msentraid/snapcraft.yaml Outdated
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.08%. Comparing base (9c56781) to head (0513f0e).
⚠️ Report is 67 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1332      +/-   ##
==========================================
- Coverage   86.41%   80.08%   -6.34%     
==========================================
  Files          99       20      -79     
  Lines        6690      984    -5706     
  Branches      111        0     -111     
==========================================
- Hits         5781      788    -4993     
+ Misses        853      196     -657     
+ Partials       56        0      -56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nooreldeenmansour nooreldeenmansour marked this pull request as ready for review March 16, 2026 19:53
Comment thread authd-oidc-brokers/go.sum
Comment thread snap/variants/google/snapcraft.yaml Outdated
@nooreldeenmansour nooreldeenmansour force-pushed the update-paths branch 2 times, most recently from e3a7c5f to 446f564 Compare March 19, 2026 10:42
The `export GOFLAGS="-ldflags=..."` in override-build was overwriting the
`GOFLAGS: "-tags=release"` set in build-environment, causing the release tag
to be silently dropped during compilation. This tag controls whether the
build-time source directory is embedded as RPATH in the binary for msentraid broker

Moved `-tags=release` directly to each variant's go build command line and passed `-ldflags` as a flag instead GOFLAGS export. This ensures the tag is always applied and makes all flags explicit and visible.
Copy link
Copy Markdown
Contributor

@adombeck adombeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@nooreldeenmansour nooreldeenmansour merged commit 1627c0a into main Apr 6, 2026
21 of 28 checks passed
@nooreldeenmansour nooreldeenmansour deleted the update-paths branch April 6, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants